/*******************************************************************************
 * Copyright (c) 2009-2011 ETCORE Labs. All rights reserved. 
 * 
 * This software is the confidential and proprietary information of ETCORE Labs.
 * You shall not disclose such confidential information and shall use it
 * only in accordance with the terms of the license agreement you entered into
 * with ETCORE Labs. 
 * 
 * Support can be obtained from support forums at:  http://www.etcore.com/
 * /
 *******************************************************************************/
package etcore.webapp.grouptalk.common.config;

/**
 * This interface defines constants used in actions and pages.
 * 
 * @author ETCORE GroupTalk Developers
 * 
 */
public interface PageConstants {
	public static final String GROUP_PATH = "/group/";
	public static final String PAGE_EXTENTION = ".jsp";
	public static final String ACTION_EXTENTION = ".action";
	public static final String PAGE_NAME_ADDGKIND = "addGkind";
	public static final String PAGE_NAME_ADDGROUP = "addGroup";
	public static final String PAGE_NAME_ACTIVATEUSER = "activateUser";
	public static final String PAGE_NAME_BOOKMARKS = "bookmarks";
	public static final String PAGE_NAME_BOOKMARKSADMIN = "bookmarksadmin";
	public static final String PAGE_NAME_BOOKMARKSVIEW = "bookmarksView";
	public static final String PAGE_NAME_COMMUNITY = "community";
	public static final String PAGE_NAME_COMMUNITYVIEW = "communityView";
	public static final String PAGE_NAME_EDITGROUP = "editGroup";
	public static final String PAGE_NAME_EDITMESSAGE = "editMessage";
	public static final String PAGE_NAME_EDITBOOKMARK = "editBookmark";
	public static final String PAGE_NAME_MANAGETOPIC = "manageTopic";
	public static final String PAGE_NAME_ERROR = "error";
	public static final String PAGE_NAME_MYMESSAGES = "myMessages";
	public static final String PAGE_NAME_MYFOLLOWING = "myFollowing";
	public static final String PAGE_NAME_MYFOLLOWERS = "myFollowers";
	public static final String PAGE_NAME_MYGROUPS = "myGroups";
	public static final String PAGE_NAME_MYCOMMENTS = "myComments";
	public static final String PAGE_NAME_USERMESSAGES = "userMessages";
	public static final String PAGE_NAME_USERFOLLOWING = "userFollowing";
	public static final String PAGE_NAME_USERFOLLOWERS = "userFollowers";
	public static final String PAGE_NAME_USERGROUPS = "userGroups";
	public static final String PAGE_NAME_USERCOMMENTS = "userComments";
	public static final String PAGE_NAME_VIEWUSER = "viewUser";
	public static final String PAGE_NAME_MYFAVOURITE = "myFavourite";
	public static final String PAGE_NAME_USERFAVOURITE = "userFavourite";
	public static final String PAGE_NAME_MYFOCUS = "myFocus";
	public static final String PAGE_NAME_EVENT = "event";
	public static final String PAGE_NAME_GROUPADMIN = "groupadmin";
	public static final String PAGE_NAME_GROUPFOLLOWERS = "groupFollowers";
	public static final String PAGE_NAME_GROUPDATA = "groupdata";
	public static final String PAGE_NAME_GROUPDETAIL = "groupdetail";
	public static final String PAGE_NAME_LOGIN = "login";
	public static final String PAGE_NAME_MESSAGEDETAIL = "messagedetail";
	public static final String PAGE_NAME_MYINFO = "myInfo";
	public static final String PAGE_NAME_USERREGISTER = "userRegister";
	public static final String PAGE_NAME_NEWS = "news";
	public static final String PAGE_NAME_NEWSVIEW = "newsView";
	public static final String PAGE_NAME_REMINDERS = "reminders";
	public static final String PAGE_NAME_USERSHOW = "userShow";
	public static final String PAGE_NAME_AVATAR = "avatar";
	public static final String PAGE_NAME_CONTACTUS = "contactus";
	public static final String PAGE_PATH_ADDGKIND = GROUP_PATH
			+ PAGE_NAME_ADDGKIND + PAGE_EXTENTION;

	public static final String PAGE_PATH_ADDGROUP = GROUP_PATH
			+ PAGE_NAME_ADDGROUP + PAGE_EXTENTION;
	public static final String PAGE_PATH_AVATAR = GROUP_PATH + PAGE_NAME_AVATAR
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_USERSHOW = GROUP_PATH
			+ PAGE_NAME_USERSHOW + PAGE_EXTENTION;
	public static final String PAGE_PATH_BOOKMARKS = GROUP_PATH
			+ PAGE_NAME_BOOKMARKS + PAGE_EXTENTION;
	public static final String PAGE_PATH_BOOKMARKSADMIN = GROUP_PATH
			+ PAGE_NAME_BOOKMARKSADMIN + PAGE_EXTENTION;
	public static final String PAGE_PATH_BOOKMARKSVIEW = GROUP_PATH
			+ PAGE_NAME_BOOKMARKSVIEW + PAGE_EXTENTION;
	public static final String PAGE_PATH_COMMUNITY = GROUP_PATH
			+ PAGE_NAME_COMMUNITY + PAGE_EXTENTION;
	public static final String PAGE_PATH_COMMUNITYVIEW = GROUP_PATH
			+ PAGE_NAME_COMMUNITYVIEW + PAGE_EXTENTION;
	public static final String PAGE_PATH_EDITGROUP = GROUP_PATH
			+ PAGE_NAME_EDITGROUP + PAGE_EXTENTION;
	public static final String PAGE_PATH_EDITMESSAGE = GROUP_PATH
			+ PAGE_NAME_EDITMESSAGE + PAGE_EXTENTION;
	public static final String PAGE_PATH_EDITBOOKMARK = GROUP_PATH
			+ PAGE_NAME_EDITBOOKMARK + PAGE_EXTENTION;
	public static final String PAGE_PATH_MANAGETOPIC = GROUP_PATH
			+ PAGE_NAME_MANAGETOPIC + PAGE_EXTENTION;
	public static final String ROOT_PATH = "/";
	public static final String ACTION_PATH_ERROR = ROOT_PATH + PAGE_NAME_ERROR
			+ ACTION_EXTENTION;
	public static final String PAGE_PATH_ERROR = ROOT_PATH + PAGE_NAME_ERROR
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_EVENT = GROUP_PATH + PAGE_NAME_EVENT
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_GROUPFOLLOWERS = GROUP_PATH + PAGE_NAME_GROUPFOLLOWERS
	+ PAGE_EXTENTION;
	public static final String PAGE_PATH_GROUPADMIN = GROUP_PATH
			+ PAGE_NAME_GROUPADMIN + PAGE_EXTENTION;
	public static final String PAGE_PATH_GROUPDATA = GROUP_PATH
			+ PAGE_NAME_GROUPDATA + PAGE_EXTENTION;
	public static final String PAGE_PATH_CONTACTUS = GROUP_PATH
			+ PAGE_NAME_CONTACTUS + PAGE_EXTENTION;
	public static final String PAGE_PATH_GROUPDETAIL = GROUP_PATH
			+ PAGE_NAME_GROUPDETAIL + PAGE_EXTENTION;
	public static final String PAGE_PATH_REPLYTEMPLATES = GROUP_PATH
	+ "replyTemplates" + PAGE_EXTENTION;
	public static final String PAGE_PATH_SETTINGS = GROUP_PATH
	+ "settings" + PAGE_EXTENTION;
	public static final String PAGE_PATH_USERREGISTER = GROUP_PATH
			+ PAGE_NAME_USERREGISTER + PAGE_EXTENTION;
	public static final String PAGE_PATH_LOGIN = GROUP_PATH + PAGE_NAME_LOGIN
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_MESSAGEDETAIL = GROUP_PATH
			+ PAGE_NAME_MESSAGEDETAIL + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYINFO = GROUP_PATH + PAGE_NAME_MYINFO
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_NEWS = GROUP_PATH + PAGE_NAME_NEWS
			+ PAGE_EXTENTION;
	public static final String PAGE_PATH_NEWSVIEW = GROUP_PATH
			+ PAGE_NAME_NEWSVIEW + PAGE_EXTENTION;
	public static final String PAGE_PATH_VIEWUSER = GROUP_PATH
			+ PAGE_NAME_VIEWUSER + PAGE_EXTENTION;
	public static final String PAGE_PATH_REMINDERS = GROUP_PATH
			+ PAGE_NAME_REMINDERS + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYMESSAGES = GROUP_PATH
			+ PAGE_NAME_MYMESSAGES + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYFOLLOWING = GROUP_PATH
			+ PAGE_NAME_MYFOLLOWING + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYFOLLOWERS = GROUP_PATH
			+ PAGE_NAME_MYFOLLOWERS + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYGROUPS = GROUP_PATH
			+ PAGE_NAME_MYGROUPS + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYCOMMENTS = GROUP_PATH
			+ PAGE_NAME_MYCOMMENTS + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYFOCUS = GROUP_PATH
			+ PAGE_NAME_MYFOCUS + PAGE_EXTENTION;
	public static final String PAGE_PATH_MYFAVOURITE = GROUP_PATH
			+ PAGE_NAME_MYFAVOURITE + PAGE_EXTENTION;

	public static final String PAGE_PATH_USERMESSAGES = GROUP_PATH
			+ PAGE_NAME_USERMESSAGES + PAGE_EXTENTION;
	public static final String PAGE_PATH_USERFOLLOWING = GROUP_PATH
			+ PAGE_NAME_USERFOLLOWING + PAGE_EXTENTION;
	public static final String PAGE_PATH_USERFOLLOWERS = GROUP_PATH
			+ PAGE_NAME_USERFOLLOWERS + PAGE_EXTENTION;
	public static final String PAGE_PATH_USERGROUPS = GROUP_PATH
			+ PAGE_NAME_USERGROUPS + PAGE_EXTENTION;
	public static final String PAGE_PATH_USERCOMMENTS = GROUP_PATH
			+ PAGE_NAME_USERCOMMENTS + PAGE_EXTENTION;

	public static final String PAGE_PATH_USERFAVOURITE = GROUP_PATH
			+ PAGE_NAME_USERFAVOURITE + PAGE_EXTENTION;
	public static final String PAGE_ACTION_MYINFO = "/group/myInfo.action";
	public static final String FUNC = "func";
	public static final String GID = "gid";
	public static final String GROUP = "group";
	public static final String GROUPNUM = "groupNum";
	public static final String GROUPS = "groups";
	public static final String GMID = "gmid";
	public static final String HASBANNER = "hasBanner";
	public static final String HASFOOTER = "hasFooter";
	public static final String ID = "id";
	public static final String TAGID = "tagId";
	public static final String TAGCONTAINERID = "tcid";
	public static final String INFO = "info";
	public static final String MSG = "msg";
	public static final String MSGSIZE = "msgSize";
	public static final String MSGS = "msgs";
	public static final String COMMENTS = "comments";
	public static final String NAME = "name";

	public static final String NOTICE = "notice";
	public static final String TID = "tid";
	public static final String SIZE = "size";
	public static final String TOPIC = "topic";
	public static final String TOPICS = "topics";
	public static final String TAGCONTAINERS = "tagContainers";
	public static final String TAGS = "tags";
	public static final String TOPICSIZE = "topicSize";
	public static final String UP = "up";
	public static final String CONTENT = "content";
	public static final String TAG = "tag";
	public static final String FLAG = "flag";
	public static final String TAGCONTAINERCOUNT = "tagContainerCount";
	public static final String TAGCOUNT = "tagCount";
	public static final String SOURCE = "source";
	public static final String STIME = "stime";
	public static final String SESSIONUSER = "session_user";
	public static final String MESSAGEDETAIL = "messageDetail";
	public static final String ISADMIN = "isAdmin";
	public static final String NOTLOGGED = "notLogged";
	public static final String TEMPLATE = "template";

	public static final String PAGE_VARIABLE_PLATFORM1NAVGROUPS = "platform1NavGroups";

	public static final String PAGE_VARIABLE_PLATFORM2NAVGROUPS = "platform2NavGroups";

	public static final String INTPAGEID = "intpageid";
	public static final String PAGENUMS = "pagenums";
	public static final String PAGE = "page";
	public static final String USERS = "users";
	public static final String USERNAME = "userName";
	public static final String USEREMAIL = "userEmail";
	public static final String CODE = "code";
	public static final String ONE = "1";
	public static final String ZERO = "0";
	public static final String PAGEID = "pageid";
	public static final String ALL = "all";
	public static final String UNIT = "unit";
	public static final String CMD = "cmd";
	public static final String PAGE_ACTION_POSTFIX = ".action";
	public static final String ENCODING_GB2312 = "gb2312";
	public static final String ENCODING_UTF8 = "utf-8";
	public static final String ENCODING_ISO88591 = "iso-8859-1";
	public static final String OPEN = "open";
	public static final String NAV = "nav";
	public static final String TOPIC_MAP = "topicMap";
	public static final String NAV_TOPIC_MAP = "navTopicMap";
	public static final String BOOKMARKS_OPEN_VALUE = "3";
	public static final String INTERNAL_OPEN_VALUE = "0";
	public static final String REMINDERS_OPEN_VALUE = "4";
	public static final String COMMUNITIES_OPEN_VALUE = "2";
	public static final String INFO_OPEN_VALUE = "1";
	public static final String NAV_DISABLED_VALUE = "0";
	public static final String NAV_ENABLED_VALUE = "1";
	public static final int INFO_PARENT_VALUE = -1;
	public static final int COMMUNITY_PARENT_VALUE = -2;
	public static final int BOOKMARKS_PARENT_VALUE = -3;
	public static final int REMINDERS_PARENT_VALUE = -4;
	public static final int INTERNAL_PARENT_VALUE = 0;
	public static final int NAV1_PARENT_VALUE = -11;
	public static final int NAV2_PARENT_VALUE = -22;
	public static final String ROOTGROUPS1 = "rootGroups1";
	public static final String DIRECTORIES1 = "directories1";
	public static final String ROOTGROUPS11 = "rootGroups11";
	public static final String DIRECTORIES11 = "directories11";
	public static final String ROOTGROUPS2 = "rootGroups2";
	public static final String DIRECTORIES2 = "directories2";
	public static final String ROOTGROUPS3 = "rootGroups3";
	public static final String DIRECTORIES3 = "directories3";
	public static final String ROOTGROUPS22 = "rootGroups22";
	public static final String DIRECTORIES22 = "directories22";
	public static final String REMINDER_DATE = "reminderDate";
	public static final String ATTACHMENT_PATH = "/group/upload/attached/";
	public static final String GROUP_AVATAR_PATH = "/group/upload/images/";
	public static final String UPLOAD_TEMP_PATH = "/group/upload/temp/";
	public static final String USER_AVATAR_PATH = "/group/upload/avatar/";
	public static final String TARGET_USERNAME = "targetUserName";
	public static final String TARGET_USER = "targetUser";
	// utility constants
	public static final String AVATAR_POSTFIX = "_avatar";
	public static final String START_PID = "startpid";
	public static final String END_PID = "endpid";
	public static final String START_DATE = "startDate";
	public static final String END_DATE = "endDate";
	public static final String COMMENT_NUM = "commentNum";

}
